package com.cn.boot.spring.mapper;

import com.cn.boot.spring.entity.DepartmentEntity;

import java.util.List;

public interface DepartmentMapper {
    List<DepartmentEntity> findAll();


    DepartmentEntity findById(Integer id);

    Integer add(DepartmentEntity departmentEntity);

    void del(Integer integer);

    Integer update(DepartmentEntity departmentEntity);
}
